""" 
CSDN : heart_6662
PYTHON amateur   
"""

sum = 0
total = 0
n = int(input("请输入一位数:"))
a = int(input("请输入一位数："))
for i in range(n):
    sum += (10**i)
    total += sum*a
print("总和为",sum)



